package com.dongdongshop.service;

import com.dongdongshop.data.Result;
import com.dongdongshop.pojo.TbGoods;
import com.dongdongshop.pojo.TbGoodsDesc;
import com.dongdongshop.pojo.TbItem;

import java.util.List;

public interface TbGoodsService {


    List<TbGoods> getGoodsInfo(TbGoods tbGoods);

    void insertGoodInfo(TbGoods tbGoods, TbGoodsDesc tbGoodsDesc, List<TbItem> itemList, String nickName);

    Result getGoodList(String sellerId, TbGoods tbGoods);

    Result updateBatch(String[] ids, String s);

    Result deleteBatch(String[] ids);

    TbGoods selectByGoodsId(Long goodsId);

    List<TbGoods> getGoodsInfos();

    int updateStatus(String[] ids, String s);
}
